export default {
  data() {
    return {
      // 门店id列表
      storeList: [],
      storeLoading: false
    }
  },
  methods: {
    // 获取门店id列表
    async getStoreList() {
      this.storeLoading = true
      const res = await this.$api.store.getStoreList({
        current_page: 1,
        page_number: 10000
      })
      this.storeLoading = false
      if (res.code === 1) {
        this.storeList = res.data.records
      }
    }
  }
}
